package com.zdzx.model.service.content.vo;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zdzx.model.entity.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "certificate", description = "certificate")
@TableName("content_certificate")
public class Certificate extends BaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "title", name = "title")
	private String title;
	@ApiModelProperty(value = "path", name = "path")
	private String path;
	@ApiModelProperty(value = "courseIds", name = "courseIds")
	private String courseIds;
	@ApiModelProperty(value = "minMark", name = "minMark")
	private String minMark;
	@ApiModelProperty(value = "", name = "sumCount")
	private String sumCount;
	private Integer x;
	private Integer y;
	private Integer fontSize;
	@TableField(exist = false)
	private List<Map> info;
	/*
	public void setPath(String path,boolean flag) {
		if(!StringUtils.isEmpty(path)&&!path.contains(SystemConfig.ossIp)&&flag)
		this.path = SystemConfig.ossIp+path;
		else
		this.path=path;
	}
	public void setPath(String path) {
		if(!StringUtils.isEmpty(path)&&!path.contains(SystemConfig.ossIp))
		this.path = SystemConfig.ossIp+path;
		else
		this.path=path;
	}
*/
}
